let num: number = 10;
let str: string = "Hello";
let isTrue: boolean = true;
// a 的类型为number ，b的类型为number 函数返回的类型也为number
function sum(a: number, b: number): number{
    return a + b;
}

let result = sum(12, 6);